package com.nbst.model.mes;

import java.util.Date;

import com.nbst.model.base.OrderBy;

/**
 * @ClassName: ApplyItems
 * @Description:物料申请单t_apply_item d的model
 * @author: HuXinshuai
 * @date: 2018年10月26日 下午5:13:18
 * @Copyright: 宁波沙塔. All rights reserved.
 */
public class ApplyItems extends OrderBy {
	/** 没有这个字段的信息 */
	private Integer id;
	/** 物料申请单编号 */
	private String fBillNo;
	/** APS任务单id */
	private Integer fIcmoEntryId;
	/** 派工单id */
	private Integer fDispatchId;
	/** 制单时间 */
	private Date fDate;
	/** 制单人 */
	private Integer fBiller;
	/** 关闭标志 */
	private Integer fClosed;
	/** 部门id */
	private Integer fDepId;
	/** 更新时间 */
	private Date updateTime;
	/** 领料员工id */
	private Integer fWorkerId;
	/** 派工号 */
	private String fCode;
	/** 部门名称 */
	private String fName;

	/** 投料单id */
	private Integer fPpBomId;

	/** 是否合并领料 */
	private Integer fIsMerge;

	/** 是否已改变生产任务单、工序流转卡投料数量 */
	private Boolean fIsUpdateCardQty;

	/** 单一派工单领料标志，如果已通过该派工单发过料后该标志会变为true,变为true后就不能合并领料了 */
	private boolean fIsNotMergeFlag;

	/** 领料类型 1生产领料 2外协领料 */
	private Integer fType;

	/** 委外转出表id */
	private Integer fSubcOutInterId;

	/** 发料状态 0未发 1部分 2全部 */
	private Integer fStatus;

	/** 已分配数量 （在派工单被合并的情况下才有效） */
	private Double fUseQty;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getfBillNo() {
		return fBillNo;
	}

	public void setfBillNo(String fBillNo) {
		this.fBillNo = fBillNo == null ? null : fBillNo.trim();
	}

	public Integer getfIcmoEntryId() {
		return fIcmoEntryId;
	}

	public void setfIcmoEntryId(Integer fIcmoEntryId) {
		this.fIcmoEntryId = fIcmoEntryId;
	}

	public Integer getfDispatchId() {
		return fDispatchId;
	}

	public void setfDispatchId(Integer fDispatchId) {
		this.fDispatchId = fDispatchId;
	}

	public Date getfDate() {
		return fDate;
	}

	public void setfDate(Date fDate) {
		this.fDate = fDate;
	}

	public Integer getfBiller() {
		return fBiller;
	}

	public void setfBiller(Integer fBiller) {
		this.fBiller = fBiller;
	}

	public Integer getfClosed() {
		return fClosed;
	}

	public void setfClosed(Integer fClosed) {
		this.fClosed = fClosed;
	}

	public Integer getfDepId() {
		return fDepId;
	}

	public void setfDepId(Integer fDepId) {
		this.fDepId = fDepId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getfWorkerId() {
		return fWorkerId;
	}

	public void setfWorkerId(Integer fWorkerId) {
		this.fWorkerId = fWorkerId;
	}

	public String getfCode() {
		return fCode;
	}

	public void setfCode(String fCode) {
		this.fCode = fCode;
	}

	public String getfName() {
		return fName;
	}

	public void setfName(String fName) {
		this.fName = fName;
	}

	public Integer getfPpBomId() {
		return fPpBomId;
	}

	public void setfPpBomId(Integer fPpBomId) {
		this.fPpBomId = fPpBomId;
	}

	public Integer getfIsMerge() {
		return fIsMerge;
	}

	public void setfIsMerge(Integer fIsMerge) {
		this.fIsMerge = fIsMerge;
	}

	public Boolean getfIsUpdateCardQty() {
		return fIsUpdateCardQty;
	}

	public void setfIsUpdateCardQty(Boolean fIsUpdateCardQty) {
		this.fIsUpdateCardQty = fIsUpdateCardQty;
	}

	public boolean isfIsNotMergeFlag() {
		return fIsNotMergeFlag;
	}

	public void setfIsNotMergeFlag(boolean fIsNotMergeFlag) {
		this.fIsNotMergeFlag = fIsNotMergeFlag;
	}

	public Integer getfType() {
		return fType;
	}

	public void setfType(Integer fType) {
		this.fType = fType;
	}

	public Integer getfSubcOutInterId() {
		return fSubcOutInterId;
	}

	public void setfSubcOutInterId(Integer fSubcOutInterId) {
		this.fSubcOutInterId = fSubcOutInterId;
	}

	public Integer getfStatus() {
		return fStatus;
	}

	public void setfStatus(Integer fStatus) {
		this.fStatus = fStatus;
	}

	public Double getfUseQty() {
		return fUseQty;
	}

	public void setfUseQty(Double fUseQty) {
		this.fUseQty = fUseQty;
	}

	@Override
	public String toString() {
		return "ApplyItems [id=" + id + ", fBillNo=" + fBillNo + ", fIcmoEntryId=" + fIcmoEntryId + ", fDispatchId="
				+ fDispatchId + ", fDate=" + fDate + ", fBiller=" + fBiller + ", fClosed=" + fClosed + ", fDepId="
				+ fDepId + ", updateTime=" + updateTime + ", fWorkerId=" + fWorkerId + ", fCode=" + fCode + ", fName="
				+ fName + ", fPpBomId=" + fPpBomId + ", fIsMerge=" + fIsMerge + ", fIsUpdateCardQty=" + fIsUpdateCardQty
				+ ", fIsNotMergeFlag=" + fIsNotMergeFlag + ", fType=" + fType + ", fSubcOutInterId=" + fSubcOutInterId
				+ ", fStatus=" + fStatus + ", fUseQty=" + fUseQty + "]";
	}

}